python program to calcualte power of a number]